﻿using HBase;
using System;
using System.Collections.Generic;

namespace Persistence {
    public class DictRes :CacheData, ICloneable {
        private bool del = false;
        public void delete() {
            del = true;
        }



        public bool isDelete() {
            return del;
        }
        public long id { get; set; }
        public long pId { get; set; }
        public int value { get; set; }
        public int sort { get; set; }
        public string label { get; set; }
        public int type { get; set; }

        public string dType { get; set; }
        public List<DictRes> children = new List<DictRes>();

        public long getId() {
            return id;
        }

        public object Clone() {
            return this.MemberwiseClone();
        }
    }
}